#ifndef __FATFS_APP_H__
#define __FATFS_APP_H__





#include "config.h"
#include "ff.h"




void Write_to_file(const char *FileName, const char *Data);
void Read_from_file(const char *FileName, unsigned char *Data, uint32_t Size);
void Show_pic_from_w25qxx(const char *FileName, uint8_t x, uint8_t y, uint8_t width, uint8_t length);


void spi_flash_mkfs_and_mount(void);



#endif


